package net.cgsoft.widget.model;


import java.util.ArrayList;

/**
 * Created by Youga on 2015/12/31.
 */
public class Model<T> {
    int code;
    String message;
    T object;
    ArrayList<T> objectList;

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

    public T getObject() {
        return object;
    }

    public ArrayList<T> getObjectList() {
        return objectList;
    }

    @Override
    public String toString() {
        return "Model{" +
                "code=" + code +
                ", message='" + message + '\'' +
                ", object=" + object +
                '}';
    }
}
